﻿<div class="span10">
	<h1>Editar Responsável</h1>
	<?php echo Flash::render(); ?>
	<?php echo Form::open('responsavel/editar/'.$responsavel->id, array('class' => 'well')); ?>
	<label>Nome: </label>
	<input type="text" name="nome" class="span3" value="<?php echo $responsavel->nome; ?>" placeholder="Nome">
	<label>Telefone: </label>
	<input type="text" name="telefone" class="span3" value="<?php echo $responsavel->telefone; ?>" placeholder="Telefone">
	<label>Email: </label>
	<input type="text" name="email" class="span3" value="<?php echo $responsavel->email; ?>" placeholder="Email">
	<label>Setor: </label>
	<input type="text" name="setor" class="span3" value="<?php echo $responsavel->setor; ?>" placeholder="Setor"><br>
	<button type="submit" name="alterar" class="btn">Alterar</button>
	<?php echo Form::close(); ?>
	<?php
		$view = new View('responsavel/lista');
		$view->bind('responsaveis', $responsaveis);
		echo $view;
	?>
</div>